package com.wsoft.form.query.design;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author z001
 * @Date 2024/9/9 13:51
 */
@Data
public class DesignBaseQuery {

    @Schema(description = "页面id")
    private Long formId;

    @NotBlank
    @Schema(description = "表单编码")
    private String formDesignCode;

    @NotBlank
    @Schema(description = "表单名称")
    private String formDesignName;

    @Schema(description = "表单类型")
    private Integer formDesignType;

    @Schema(description = "表单主表id")
    private Long tableId;

    @Schema(description = "表单组件JSON")
    private String pageVue;

    @Schema(description = "表单参数JSON")
    private String paramsJson;

    @Schema(description = "关联子表 (id,name)逗号分隔")
    private String sonObject;

    @Schema(description = "子表布局方式")
    private String sonLayoutType;
}

